let trim = str => str.replace(/^\s+|\s+$/g,'');
let toleft = str => str.replace(/^\s+/g,'');
let toright = str => str.replace(/\s+$/g,'');

module.exports = {
    trim,
    toleft,
    toright
}